// home API
// import mockRequest from '@/utils/mockRequest'
import request from '@/utils/request'
// 获取首页的轮播图 'mock/swiperList
// export const getSwiperList = () => mockRequest({ url: 'mock/swiperList', methods: 'get' })
export const getSwiperList = () => request({ url: '/api/home/getSwiper', methods: 'get' })

// 得到公告 /api/home/getNotice
export const getNoticeList = () => request({ url: '/api/home/getNotice', method: 'get' })

// 获得热门课程推荐 /api/home/classIntro
export const getHotClass = () => request({ url: `/api/home/classIntro`, method: 'get' })
